import { getItem, removeItem, setItem } from "@/utils/storage";

const TokenKey = "ai-chat-app-token";

export const getToken = () => getItem(TokenKey);

export const setToken = (access_token: string) =>
  setItem(TokenKey, access_token);

export const removeToken = () => removeItem(TokenKey);
